<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>个人博客模板（寻梦）</title>
    <meta name="keywords" content="个人博客模板,博客模板" />
    <meta name="description" content="寻梦主题的个人博客模板，优雅、稳重、大气,低调。" />
    <link href="<?php echo C('CSS_URL');?>base.css" rel="stylesheet">
    <link href="<?php echo C('CSS_URL');?>index.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="<?php echo C('JS_URL');?>modernizr.js"></script>
    <![endif]-->
</head>
<body>
<header>
    <div id="logo"><a href="/"></a></div>
    <nav class="topnav" id="topnav">
        <a href="<?php echo U('Index/index');?>"><span>首页</span><span>Index</span></a>
        <?php if(is_array($cate_info)): foreach($cate_info as $key=>$v): ?><a href="/index.php/Home/<?php echo ($v["cate_description"]); ?>/showlist/cate_id/<?php echo ($v["cate_id"]); ?>"><span><?php echo ($v["cate_name"]); ?></span><span class="en"><?php echo ($v["cate_description"]); ?></span></a><?php endforeach; endif; ?>
    </nav>
</header>



<link href="<?php echo C('CSS_URL');?>style.css" rel="stylesheet">
<style type="text/css">
    .pagelist a {
        margin: 0 3px;
    }
    .pagelist span.current {
        background: #09F;
        background-color: rgb(0, 153, 255);
        background-image: none;
        background-repeat: repeat;
        background-attachment: scroll;
        background-clip: border-box;
        background-origin: padding-box;
        background-position-x: 0%;
        background-position-y: 0%;
        background-size: auto auto;
        color: #FFF;
        border-color: #09F;
        margin: 0 2px;
    }
    .pagelist span, .pagelist a {
        border: 1px solid #dfdfdf;
        border-radius: 3px;
        display: inline-block;
        padding: 5px 12px;
    }
    a {
        color: #333;
        text-decoration: none;
    }
    a {
        background: transparent none repeat scroll 0 0;
    }
    .pagelist {
        text-align: center;
    }
</style>
<article class="blogs">
<h1 class="t_nav"><span>“慢生活”不是懒惰，放慢速度不是拖延时间，而是让我们在生活中寻找到平衡。</span><a href="/" class="n1">网站首页</a><a href="###" class="n2">慢生活</a></h1>
<div class="newblog left">
    <ul class="nlist" style="width: 700px">
    <?php if(is_array($life_info)): foreach($life_info as $key=>$v): ?><li style="">
            <h2><?php echo ($v["blog_title"]); ?></h2>
            <p class="dateview"><span>&nbsp;发布时间：<?php echo (date("Y-m-d",$v["add_time"])); ?></span><span>作者：<?php echo ($v["author_name"]); ?></span><span>分类：[<a href="##"><?php echo ($v["cate_name"]); ?></a>]</span></p>

                <figure><img src="<?php echo (substr($v["blog_small_logo"],1)); ?>"></figure>
                <p style="float: left;width: 498px;margin-left: 20px;"><?php echo (msubstr($v["blog_content"],0,160,'utf-8',true)); ?></p>
                <a title="<?php echo ($v["blog_title"]); ?>" href="/index.php/Home/Life/showlist/cate_id/<?php echo ($v["cate_id"]); ?>/blog_id/<?php echo ($v["blog_id"]); ?>" target="_blank" class="readmore">阅读全文>></a>

            </li><?php endforeach; endif; ?>
    </ul>
    <div class="line"></div>
    <div class="blank"></div>
    <div class="pagelist"><?php echo ($pagelist); ?></div>
</div>
<aside class="right">
<div class="news">
    <h3>
      <p>最新<span>文章</span></p>
    </h3>
    <ul class="rank">
        <?php if(is_array($news_blog)): foreach($news_blog as $key=>$v): ?><li><a href="/index.php/Home/<?php echo ($v["cate_description"]); ?>/showlist/cate_id/<?php echo ($v["cate_id"]); ?>/blog_id/<?php echo ($v["blog_id"]); ?>" title="<?php echo ($v["blog_title"]); ?>" target="_blank"><?php echo ($v["blog_title"]); ?></a></li><?php endforeach; endif; ?>
    </ul>
    <h3>
        <p>最新<span style="color:green;">相册</span></p>
    </h3>
    <ul class="rank">
        <?php if(is_array($pics_info)): foreach($pics_info as $key=>$v): ?><!-- single image -->
            <!--<div class="span3 img-container">-->
            <div class="img-box" style="float: left; margin:2px;">
                <a href="/index.php/Home/<?php echo ($v["cate_description"]); ?>/showlist/cate_id/<?php echo ($v["cate_id"]); ?>/pics_id/<?php echo ($v["pics_id"]); ?>" alter="图片不存在">
                    <img style="width:120px; height:100px;" src="<?php echo (substr($v["pics_logo"],1)); ?>" />
                </a>
                <p class="title" style="text-align: left;font-size:10px;">
                    相册名称：&nbsp;&nbsp;&nbsp;&nbsp;<a href="/index.php/Home/<?php echo ($v["cate_description"]); ?>/showlist/cate_id/<?php echo ($v["cate_id"]); ?>/pics_id/<?php echo ($v["pics_id"]); ?>" style="color:green;"><?php echo ($v["pics_name"]); ?></a>
                </p>
            </div>
            <!--</div>--><?php endforeach; endif; ?>
    </ul>
    <h3>
        <p>最近<span style="color:green;">访客</span></p>
    </h3>
    <ul class="rank">

    </ul>
    </div>
     <!-- Baidu Button BEGIN -->
    <div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare"><a class="bds_tsina"></a><a class="bds_qzone"></a><a class="bds_tqq"></a><a class="bds_renren"></a><span class="bds_more"></span><a class="shareCount"></a></div>
    <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=6574585" ></script> 
    <script type="text/javascript" id="bdshell_js"></script> 
    <script type="text/javascript">
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/<?php echo C('JS_URL');?>shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script> 
    <!-- Baidu Button END -->   
</aside>
</article>


<footer>
    <p>本站的模板来源于： <a href="http://www.mycodes.net/" title="源码之家" target="_blank" style="color:green;">源码之家</a> </p>
</footer>
<script src="<?php echo C('JS_URL');?>silder.js"></script>
</body>
</html>